import { request } from "../utils/request"

export default {
	// 用户登录  参数 code
	accountLogin : (data) => {
		return request({
			url: `account/login`,
			method: 'POST',
			data
		})
	},
	// 绑定邀请码
	accountInvite : (code,data) => {
		return request({
			url: `account/invite/${code}`,
			data
		})
	},
	// 完善个人信息
	accountEdit : (data) => {
		return request({
			url: `account/edit`,
			method: 'POST',
			data
		})
	},
	// 获取
	accountInfo : (data) => {
		return request({
			url: `account/info`,
			data
		})
	},

	

}



